<?php Yii::app()->clientScript->registerScriptFile('js/app/contractlist.js', CClientScript::POS_END); ?>
<div id="left-col">
<?php 
    $this->renderPartial('_side', array(
          
            'action' => 'pagelist',
         
        ));
?>

</div>

<div id="right-col">

    <div class="wrap">
        <div class="container">


            <div id="breadcrumb" style="display:none;"><span style="padding-left:10px;font-size:10px;color:#777777;" id="alsoviewing"></span></div>
            <div class="inside">
                <h1>Contracts Center</h1>
                <br/>                
                <label>Contract Type</label><br/>
                <?php echo CHtml::dropDownList('contractTypeDropDown', '', array(null=>'N/A')+ContractType::getListData()); ?>
                <br/>
                <div id="contractStaticContainer">
                    <?php $this->renderPartial('_staticData',array(
                        'type'=>null
                    )); ?>
                </div>
                <div class="clear"></div>
                <br/>
                <div id="contractStatusContainer" style="width:250px;float:left;margin-right:50px;">
                    <label>Contract Status</label><br/>
                    <?php 
                        $statusData = (array(null=>'N/A')+CHtml::listData(ContractStatus::model()->findAll(), 'id', 'description') );
                        echo CHtml::dropDownList('contractStatusDropDown', '',$statusData); ?>
                </div>
                <div id="billingStatusContainer" style="float:left;">
                    <label>Billing Status</label><br/>
                    <?php echo CHtml::dropDownList('contractBillingStatusDropDown', '', (array(null=>'N/A')+CHtml::listData(Dropdowns::model()->findAll('type="C-BS"'), 'id', 'name'))); ?>
                </div>
                
                <div class="clear"></div>
                <br/>
                <div id="contract-list">

                </div>

            </div><!-- inside -->
        </div><!-- container -->
    </div><!-- wrap -->
    <?php $this->renderPartial('/copyright'); ?>
</div> <!-- left-col -->